package com.jdzy.model.student.dtos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CopyrightRearchDto {

    @ApiModelProperty(value = "注册号码")
    private String registrationNumber;

    @ApiModelProperty(value = "创建著作权时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private LocalDate createCopyrightTime;

    @ApiModelProperty(value = "名称")
    @TableField(value = "copyright_name")
    private String copyrightName;

    @ApiModelProperty(value = "著作权拥有者(字符串形式)")
    private String copyrightOwnerStr;

    @ApiModelProperty(value = "著作权拥有者")
    private List<String> copyrightOwners;

    @ApiModelProperty(value = "状态")
    private Byte copyrightStatus;

    @ApiModelProperty(value = "有限期限")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private LocalDate expirationTime;
}
